package cm.usian.feign;

import com.usian.pojo.OrderInfo;
import com.usian.pojo.TbOrder;
import com.usian.pojo.TbOrderShipping;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "usian-order-service")
public interface OrderFeign {

    /**
     * 创建订单
     * @return
     */
    @RequestMapping("/insertOrder")
    public Long insertOrder(OrderInfo orderInfo);
}
